﻿using System.Windows;

namespace Red.Controls.Utils
{
    public class BindingProxy : Freezable
    {
        #region Overrides of Freezable

        protected override Freezable CreateInstanceCore()
        {
            return new BindingProxy();
        }

        #endregion

        #region Dependency Properties

        public static readonly DependencyProperty DataProperty = DependencyProperty.Register( "Data", typeof( object ), typeof( BindingProxy ) );

        #endregion Dependency Properties

        #region Public Properties

        public object Data
        {
            get { return GetValue( DataProperty ); }
            set { SetValue( DataProperty, value ); }
        }

        #endregion Public Properties
    }
}
